Podlove\Model\Image B

Total Complexity 83
Dependencies 7
Dependents 15
Total lines 636
Lines of code 367
Logical lines of code 195
Comment lines 108
Methods 29
Properties 10

Methods 29

Method Rating Maintainability Complexity Lines of code
url()
A
43 12 46
download_source()
A
43 8 48
generate_resized_copy()
A
47 8 36
srcset()
S
49 6 32
image()
S
50 6 29
download_url()
S
51 5 26
flush_cache()
S
58 4 16
size_slug()
S
68 4 7
__construct()
S
59 2 13
save_cache_data()
S
61 2 12
copy_as_original_file()
S
63 2 11
move_as_original_file()
S
63 2 11
create_basedir()
S
66 2 10
extract_file_extension()
S
68 2 7
setHeight()
S
70 2 7
file_name()
S
71 2 6
setWidth()
S
70 2 7
cache_dir()
S
79 1 3
resized_file()
S
78 1 3
original_file()
S
78 1 3
source_exists()
S
80 1 3
setRetina()
S
76 1 4
cache_file()
S
78 1 3
original_url()
S
78 1 3
resized_url()
S
78 1 3
delete_resized_versions()
S
74 1 4
add_donotbackup_dotfile()
S
72 1 6
setCrop()
S
76 1 4
redownload_source()
S
78 1 4